package com.ruoyi.system.service.impl;

import java.util.List;

import com.ruoyi.system.domain.UpdateStatusRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TCkPickingwavegoodsMapper;
import com.ruoyi.system.domain.TCkPickingwavegoods;
import com.ruoyi.system.service.ITCkPickingwavegoodsService;

/**
 * 出库任务查询Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-09-04
 */
@Service
public class TCkPickingwavegoodsServiceImpl implements ITCkPickingwavegoodsService
{
    @Autowired
    private TCkPickingwavegoodsMapper tCkPickingwavegoodsMapper;

    /**
     * 查询出库任务查询
     * 
     * @param PICKINGID 出库任务查询主键
     * @return 出库任务查询
     */
    @Override
    public TCkPickingwavegoods selectTCkPickingwavegoodsByPICKINGID(String PICKINGID)
    {
        return tCkPickingwavegoodsMapper.selectTCkPickingwavegoodsByPICKINGID(PICKINGID);
    }

    /**
     * 查询出库任务查询列表
     * 
     * @param tCkPickingwavegoods 出库任务查询
     * @return 出库任务查询
     */
    @Override
    public List<TCkPickingwavegoods> selectTCkPickingwavegoodsList(TCkPickingwavegoods tCkPickingwavegoods)
    {
        return tCkPickingwavegoodsMapper.selectTCkPickingwavegoodsList(tCkPickingwavegoods);
    }

    /**
     * 新增出库任务查询
     * 
     * @param tCkPickingwavegoods 出库任务查询
     * @return 结果
     */
    @Override
    public int insertTCkPickingwavegoods(TCkPickingwavegoods tCkPickingwavegoods)
    {
        return tCkPickingwavegoodsMapper.insertTCkPickingwavegoods(tCkPickingwavegoods);
    }

    /**
     * 修改出库任务查询
     * 
     * @param tCkPickingwavegoods 出库任务查询
     * @return 结果
     */
    @Override
    public int updateTCkPickingwavegoods(TCkPickingwavegoods tCkPickingwavegoods)
    {
        return tCkPickingwavegoodsMapper.updateTCkPickingwavegoods(tCkPickingwavegoods);
    }

    /**
     * 批量删除出库任务查询
     * 
     * @param PICKINGIDs 需要删除的出库任务查询主键
     * @return 结果
     */
    @Override
    public int deleteTCkPickingwavegoodsByPICKINGIDs(String[] PICKINGIDs)
    {
        return tCkPickingwavegoodsMapper.deleteTCkPickingwavegoodsByPICKINGIDs(PICKINGIDs);
    }

    /**
     * 删除出库任务查询信息
     * 
     * @param PICKINGID 出库任务查询主键
     * @return 结果
     */
    @Override
    public int deleteTCkPickingwavegoodsByPICKINGID(String PICKINGID)
    {
        return tCkPickingwavegoodsMapper.deleteTCkPickingwavegoodsByPICKINGID(PICKINGID);
    }

    @Override
    public int updateCkSts(UpdateStatusRequest request) {
        return tCkPickingwavegoodsMapper.updateCkSts(request);
    }
}
